package com.kk.app.render;

import android.content.Context;

/**
 * @author wk
 * @date 2024/9/14 10:37
 * @describe
 */
public abstract class RenderViewBase implements IRenderView {

    protected int mSortOrder;
    protected boolean mVisiable = false;

    @Override
    public void setSortOrder(int order) {
        mSortOrder = order;
    }

    @Override
    public int getSortOrder() {
        return mSortOrder;
    }

    @Override
    public boolean isVisiable() {
        return mVisiable;
    }

    @Override
    public void setVisiable(boolean visiable) {
        mVisiable = visiable;
    }

    public abstract void onSurfaceCreated(Context context);

    public abstract void onSurfaceChanged(int width, int height);


}
